package com.yxtec.sc.service;

import com.yxtec.sc.dao.UserDao;
import com.yxtec.sc.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by jerrie on 17-6-20.
 */
@Service
public class UserService {

    @Autowired
    private UserDao userDao;

    public User getUser() {
        User user = userDao.get(1L);
        return user;
    }

}
